package com.zygh.dlqwservice.module.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lee
 * @since 2020-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Task对象", description="")
public class Task implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "任务表")
    @TableId(value = "task_id", type = IdType.AUTO)
    private Integer taskId;

    @ApiModelProperty(value = "问题id", example = "1")
    private Integer problemId;

    @ApiModelProperty(value = "发起任务人id", example = "1")
    private Integer launchId;

    @ApiModelProperty(value = "接收任务人id", example = "1")
    private Integer acceptId;

    @ApiModelProperty(value = "任务完成状态  0未处理 、1已完成、2不能完成", example = "1")
    private Integer taskState;

    @ApiModelProperty(value = "创建任务时间")
    private String taskCreatetime;

    @ApiModelProperty(value = "任务完成时间")
    private String taskFinishtime;

    @ApiModelProperty(value = "任务标题")
    private String taskTitle;

    @ApiModelProperty(value = "任务细节")
    private String taskDescribe;

    @ApiModelProperty(value = "任务预算花费")
    private String taskMoney;

    @ApiModelProperty(value = "任务实际花费")
    private String taskPlanMoney;

    @ApiModelProperty(value = "备注说明")
    private String taskDetail;

    @ApiModelProperty(value = "如果不能完成说明原有")
    private String reason;

    @ApiModelProperty(value = "最后修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否删除（0否  1是）", example = "1")
    private Integer isDelete;


}
